package com.pinoc.demo.manager;

import com.pinoc.demo.domain.user.User;
import com.pinoc.demo.service.user.IUserService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author yinpeng
 */
@Component
public class UserManager {

	@Resource
	private IUserService userService;

	public List<User> selectAll(){
		return userService.selectAll();
	}
}
